package com.zjinyin.forum.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class Board {
    private Long id;

    @ApiModelProperty("板块名")
    private String name;

    @ApiModelProperty("版块帖子数量")
    private Integer articleCount;

    @ApiModelProperty("版块排序优先级, 升序")
    private Integer sort;

    @ApiModelProperty("版块状态")
    private Byte state;

    private Byte deleteState;

    @ApiModelProperty("版块创建时间")
    private Date createTime;

    @ApiModelProperty("版块更新时间")
    private Date updateTime;

}